package inits

import (
	"app-webapi/comm/g"
	"app-webapi/entity"
)

func Table() {

	err := g.Db.AutoMigrate(
		entity.TestEntity{},
		entity.Userinfo{},
		entity.OperationLog{},
	)
	if err != nil {
		panic(err)
	}

}
